Set an array of sampler states to the shader pipeline stage.
シンタックス
'宣言
Public Overloads Sub SetSamplers( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal ParamArray () As SamplerState _
)
public void SetSamplers(
System.int ,
System.int ,
params SamplerState[]
)
パラメータ
- startSlot
- Index into the device's zero-based array to begin setting samplers to (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1).
- numSamplers
- Number of samplers in the array. Each pipeline stage has a total of 16 sampler slots available (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot).
- samplers
- Pointer to an array of sampler-state interfaces (see SamplerState). See Remarks.
参照